package com.powernode.shop.gateway.constant;

import java.util.Arrays;
import java.util.List;

/**
 * @author ZHAOZHENYU
 * @since 2022/10/10
 */
public interface GatewayConstant {

    /**
     * 放行的路径
     */
    List<String> ALLOW_URLS = Arrays.asList("/oauth/token");

    /**
     * 请求头的key
     */
    String AUTHORIZATION = "Authorization";


    /**
     * 携带token的前缀
     */
    String BEARER = "bearer ";

    /**
     * 存入redis的token前缀
     */
    String OAUTH_JWT_PREFIX = "oauth:jwt:";


}
